/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.gos.creator.service;

import com.gos.creator.domain.DataBase;

import java.sql.Driver;

/**
 * @author Xue Liang
 */
public interface MySqlMetaDataReader {
    /**
     * 读取数据库信息
     *
     * @param driver   数据库驱动对象
     * @param url      数据库连接地址
     * @param user     数据库用户名
     * @param password 数据库密码
     * @return
     * @throws Exception
     */
    DataBase read(Driver driver, String url, String user, String password) throws Exception;
}
